<?php
/**
 * Project: Recipe
 * File: FoodDealModel.class.php
 * Author: Xnfy520@gmail.com
 * Date: 12-5-22
 * Time: 上午11:19
 */

class FoodDealModel extends RelationModel{

	protected $_link = array(
		'SetDeal'=>array(
			'mapping_type'=>BELONGS_TO,
			'mapping_name'=>'setdeal',
			'class_name'=>'SetDeal',
			'foreign_key'=>'unit',
			//	'mapping_fields'=>'unit,deal',
		),
	);

}